import instance from './interceptors'

export const addCarManager = (data) => {
    return instance.post('/api/addCarManager',data);
}

export const getCarManager = () => {
    return instance.get('/api/getCarManagers');
}

export const editCarManager = (data) => {
    return instance.post('/api/editCarManager',data);
}

export const deleteCarManager = (data) => {
    return instance.post('/api/deleteCarManager',data);
}